Hi,
I want to create a new user and set the user name and password in dxl and run it using batch mode I knew how to add user using "addUser(sUserName, sUserLogin)" but I need to set the password for this user from dxl without prompt the user with password dialog.. i want to write the password in the dxl script
how can i achieve this ? mmoselhy - Thu Jul 31 08:25:46 EDT 2014 |
Re: How to add new user with password using dxl
If my memory is still sharp, believe you want to use the set command where you set the user property with the value. In this case, the password property. OR something like this will work
User u = find("john doe")
loadUserRecord(u)
u.password = "aaaa"
saveUserRecord (u)
saveDirectory()
|
Re: How to add new user with password using dxl a8155058 - Fri Aug 01 12:19:36 EDT 2014
If my memory is still sharp, believe you want to use the set command where you set the user property with the value. In this case, the password property. OR something like this will work
User u = find("john doe")
loadUserRecord(u)
u.password = "aaaa"
saveUserRecord (u)
saveDirectory()
Thanks a lot works for me |